package com.diandi.ddsb.manager.impl;

import com.diandi.ddsb.bean.Resource;
import com.diandi.ddsb.manager.ResourceManager;
import com.diandi.ddsb.mapper.CenterResourceDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

/**
 * 资源信息
 */
@Component
public class ResourceManagerImpl implements ResourceManager {

    @Autowired
    private CenterResourceDao resourceDao;

    /**
     * @param id
     * @return
     */
    @Override
    public List<String> findFullpathByRoleId(Long id) {
        return resourceDao.findFullpathByRoleId(id);
    }

}
